package com.huiquan.answer.domain;

import com.alibaba.fastjson.JSONObject;

/**
 * @author lichao email:lichao@witspring.com
 * @Description:
 * @Date 2018/2/8 17:11
 * @since Ver V
 */
public class DiseaseResult {
    private String diseaseId;
    private String diseaseName;
    private String probality;

    public String getDiseaseId() {
        return diseaseId;
    }

    public void setDiseaseId(String diseaseId) {
        this.diseaseId = diseaseId;
    }

    public String getDiseaseName() {
        return diseaseName;
    }

    public void setDiseaseName(String diseaseName) {
        this.diseaseName = diseaseName;
    }

    public String getProbality() {
        return probality;
    }

    public void setProbality(String probality) {
        this.probality = probality;
    }

    public DiseaseResult() {
    }

    public DiseaseResult(Object object) {
        JSONObject jsonObject = (JSONObject) object;
        this.diseaseId = jsonObject.getString("diseaseId");
        this.diseaseName = jsonObject.getString("diseaseName");
        this.probality = jsonObject.getString("probality");
    }
}
